package com.jiantong.work.service;

import com.jiantong.work.model.BreedTransferRecord;
import io.terminus.common.model.Response;

/**
 * Created by mz on 14/8/17.
 * 转群写服务的接口
 */
public interface BreedTransferRecordWriteService {

    /**
     * 添加一条转群记录
     * @param breedTransferRecord 转群记录对象
     * @param toStatus 到状态
     * @return Long 主键ID
     */
    Response<Long> create(BreedTransferRecord breedTransferRecord , Integer toStatus);

    /**
     * 更新一条转群记录
     * @param breedTransferRecord 转群记录对象
     * @param toStatus 到状态
     * @return Boolean 是否更新成功
     */
    Response<Boolean> update(BreedTransferRecord breedTransferRecord , Integer toStatus);
}
